package com.thor.palmmall.spi;

import java.text.SimpleDateFormat;

import com.fasterxml.jackson.databind.DeserializationFeature;

public class MyObjectMapper extends com.fasterxml.jackson.databind.ObjectMapper {
  private static final long serialVersionUID = 2178558769007104819L;

  public MyObjectMapper() {
    super();
    this.disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES);
    this.setDateFormat(new SimpleDateFormat("yyyy.MM.dd HH:mm:ss"));
  }

}
